const routes = [
  { // 登录
    path: '/',
    name: 'login',
    component: () => import(/* webpackChunkName: "login" */  '../views/login/index'),
  },
  { // 用户页面
    path: '/user-info',
    name: 'user-info',
    component: () => import(/* webpackChunkName: "login" */  '../views/user-info/index'),
  },
  
  // {
  //   path: '/layout',
  //   name: 'layout',
  //   component: () => import(/* webpackChunkName: "layout" */  '../views/body/layout.vue'),
  //   mate: { title: '首页' },
  //   redirect: 'home',
  //   children: [
  //     {
  //       path: 'home',
  //       name: 'home',
  //       component: () => import(/* webpackChunkName: "home" */  '../views/body/home'),
  //       meta: { title: '首页',path: 'home'},
  //     },
      
  //   ]
  // },





];
export default routes
